package cn.iocoder.yudao.module.alipay.controller.admin.costoutapply.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 提现记录 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class CostOutApplyBaseVO {

    @Schema(description = "申请提现id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28164")
    @NotNull(message = "申请提现id不能为空")
    private Long userId;

    @Schema(description = "申请日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime applyTime;

    @Schema(description = "提现金额")
    private BigDecimal cashOutAmount;

    @Schema(description = "结余金额")
    private BigDecimal balanceAmount;

    @Schema(description = "收款途径", example = "1")
    private String collectionType;

    @Schema(description = "收款账号", example = "5691")
    private String collectionAccount;

    @Schema(description = "申请状态")
    private String applyStatues;

    @Schema(description = "审核人")
    private String operator;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}
